package com.telit.firecommand.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.telit.firecommand.entity.CommAlarmRescue;
import org.apache.ibatis.annotations.Param;


public interface CommAlarmRescueDao extends BaseMapper<CommAlarmRescue> {
    int deleteByPrimaryKey(Long id);

    int insert(CommAlarmRescue record);

    int insertSelective(CommAlarmRescue record);

    CommAlarmRescue selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CommAlarmRescue record);

    int updateByPrimaryKey(CommAlarmRescue record);

    Integer isOkRescue(@Param("districtCode") String districtCode);

}